package com.joyoung.common;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import static com.joyoung.common.NetworkEnvironment.ENV_PRE;
import static com.joyoung.common.NetworkEnvironment.ENV_PRODUCT;
import static com.joyoung.common.NetworkEnvironment.ENV_TEST;

@IntDef({ENV_TEST, ENV_PRE, ENV_PRODUCT})
@Retention(RetentionPolicy.SOURCE)
public @interface NetworkEnvironment {
    /**
     * 测试
     */
    int ENV_TEST = 1;
    /**
     * 预发
     */
    int ENV_PRE = 2;
    /**
     * 正式
     */
    int ENV_PRODUCT = 0;
}
